package com.wpp.mvcframemwrok.annotation;

import com.wpp.demo.common.Common;

import java.lang.annotation.*;

/**
 * @author by wpp25
 * @Classname Security
 * @Description
 * @Date 2020/10/23 21:00
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD,ElementType.TYPE})
public @interface Security {

    String[] value() default {Common.Security.SECURITY_USER,Common.Security.SECURITY_ADMIN};
}
